export type SrcObj = {
    links: string[],
    scripts: string[],
    imgs: string[],
    aSrcs: string[],
    all: string[]
}

export type FileInfo = {
    path: string;
    content: string;
}

export type MainOptions = {
    needRecursion?: (url: string) => boolean; // 是否需要递归获取资源，返回true为是的
    writeFilePath?: (url: string) => string;  // 写入文件路径名
    recursionDepth?: number; // 递归深度次数
    needFetchFile?:  (url: string) => boolean; // 是否需要获取文件
}
